import request from '@/utils/request'

const baseApi = process.env.VUE_APP_BASE_API + '/member/student'

export function getStudentInfoById(id) {
  return request({
    url: `${baseApi}/id`,
    method: 'get',
    params: { id }
  })
}

export function updatePersonalInfo(reqData) {
  return request({
    url: `${baseApi}/update/personal`,
    method: 'post',
    data: reqData
  })
}

